﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.events {
    import flash.events.*;
    import net.wooga.pets.interfaces.*;

    public class TickingEvent extends Event {

        private var _ticking:ITicking;
        private var _tickInterval:int;
        private var _immediateTick:Boolean;

        public static var ADD_TICKING:String = "ADD_TICKING";
        public static var REMOVE_TICKING:String = "REMOVE_TICKING";

        public function TickingEvent(_arg1:String, _arg2:ITicking, _arg3:int=0, _arg4:Boolean=true){
            this._ticking = _arg2;
            this._tickInterval = _arg3;
            this._immediateTick = _arg4;
            super(_arg1, bubbles, cancelable);
        }
        public function get ticking():ITicking{
            return (this._ticking);
        }
        public function get tickInterval():int{
            return (this._tickInterval);
        }
        public function get immediateTick():Boolean{
            return (this._immediateTick);
        }
        override public function clone():Event{
            return (new TickingEvent(type, this.ticking, this.tickInterval));
        }

    }
}//package net.wooga.pets.events 
